package com.shangxia.dog.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author shangxia
 * @since 2022-02-03
 */
@Getter
@Setter
@TableName("right")
@ApiModel(value = "Right对象", description = "")
public class Right implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("权限说明")
    @TableField("authName")
    private String authName;

    @ApiModelProperty("权限等级")
    @TableField("level")
    private String level;

    @ApiModelProperty("父id")
    @TableField("pid")
    private Integer pid;

    @ApiModelProperty("路径")
    @TableField("path")
    private String path;


}
